package com.teamwork.demo.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@Table(name = "sclass", schema = "system")
public class Class {
    @Id
    @Column(name = "cid", nullable = false)
    private Integer id;

    @Column(name = "cname")
    private String cname;

    @Column(name = "cteacher")
    private String cteacher;

    @Column(name = "cdescription")
    private String cdescription;

}